//
//  RVFlightOderList.swift
//  AirTravel
//
//  Created by apple on 2021/11/17.
//

import UIKit
import HandyJSON

class RVFlightOrderTgqPoints: HandyJSON {
    
    var returnFee: String = ""
    var changeFee: String = ""
    var time: String = ""
    var timeText: String = ""
    public required init(){}
}

class RVFlightOrderTgqShowData: HandyJSON {
    
    var cChangeText: String = ""
    var cViewType: String = ""
    var cHasTime: String = ""
    var tgqPointCharges: [RVFlightOrderTgqPoints] = []
    public required init(){}
}

class RVFlightBagInfoResult: HandyJSON {
    
    var infantBaggageRule: String = ""
    var specialRules: [String] = []
    var checkedBaggageRule: String = ""
    var cabinBaggageRule: String = ""
    public required init(){}
}

class RVFlightOrderPassanger: HandyJSON {
    
    var ps_id: String = ""
    var ticketTime: [String] = []
    var ticketNumber: String = ""
    var status: String = ""
    var name: String = ""
    var number: String = ""
    var mobile: String = ""

    public required init(){}
}

class RVFlightOrderList: HandyJSON {
    var cabinCode: String = ""
    var departDate: String = ""
   var tgqShowData: RVFlightOrderTgqShowData = RVFlightOrderTgqShowData()
    var orderLink: String = ""
    var carrierName: String = ""
    var statusName: String = ""
    var insuranceInfo: [Any] = []
    var arriveTime: String = ""
    var airCraftName: String = ""
    var arriveCityName: String = ""
    var arriveCityCode: String = ""
    var carrierLogo: String = ""
    var departAirport: String = ""
    var money: String = ""
    var cabinRealPrice: String = ""
    var mobile: String = ""
    var meals: String = ""
    var arriveAirport: String = ""
    var status: String = ""
    var airCraft: String = ""
    var createTime: String = ""
    var baggageRuleInfos: RVFlightBagInfoResult = RVFlightBagInfoResult()
    var arriveTerminal: String = ""
    var departCityName: String = ""
    var departCityCode: String = ""
    var flightTime: String = ""
    var discount: String = ""
    var cabinPrice: String = ""
    var arriveDate: String = ""
    var orderId: String = ""
    var departTerminal: String = ""
    var carrier: String = ""
    var departTime: String = ""
    var order_passenger: [RVFlightOrderPassanger] = []
    var cabinName: String = ""
    var flightNo: String = ""
    public required init(){}
}


class RVFlightOrderData: HandyJSON {
    var code: String = ""
    var time: String = ""
    var msg: String = ""
    var data: [RVFlightOrderList] = []
    public required init(){}
}
